#coding=utf-8
# from django.conf.urls import url
from django.conf.urls import url, include
from . import views  # 从当前文件夹内引入views


urlpatterns = [
    url(r'^$', views.index),  # 匹配到根目录,就执行views文件内的index函数
    # url(r'^qa/$', views.dashboard, name='dashboard'),
    # 查询所有问题列表
    url(r'^qaList/', views.qaWatchList.as_view()),
    # 查询所有问题分类
    url(r'^qcList/', views.qClassList.as_view()),
    # 登录
    url(r'^login/', views.login.as_view()),
    # 添加问题
    url(r'^addQ/', views.addList.as_view()),
    # 修改问题状态(前端)
    url(r'^changeQ/', views.changeQ.as_view()),
    # 用户身份识别
    url(r'^checkLevel/', views.checkLevel.as_view()),
    # 添加分类
    url(r'^addClassList/', views.addClassList.as_view()),
    # 删除问题
    url(r'^removeQ/', views.removeList.as_view()),
    # 测试确认问题通过
    url(r'^confirmQ/', views.ConfirmQ.as_view()),
    # 无法修复(备注)
    url(r'^backUp/', views.BackUpText.as_view()),
]
